<template>
    <div class="filter" :class="{'center':align == 'center'}">
        <slot></slot>
    </div>
</template>

<script>
    export default {
        props:["align"]
    }
</script>

<style scoped>
    .filter{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height:100vh;
        background: rgba(0,0,0,.5);
        z-index: 12;
        display: flex;
        justify-content: center;
    }
    .center{
        align-items: center;
    }
</style>
